﻿#region Copyright(c) 2006 ZO, All right reserved.
// -----------------------------------------------------------------------------
// Copyright(c) 2006 ZO, All right reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//   1.  Redistribution of source code must retain the above copyright notice,
//       this list of conditions and the following disclaimer.
//   2.  Redistribution in binary form must reproduce the above copyright
//       notice, this list of conditions and the following disclaimer in the
//       documentation and/or other materials provided with the distribution.
//   3.  The name of the author may not be used to endorse or promote products
//       derived from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// -----------------------------------------------------------------------------
#endregion

#region Using directives
using System.ComponentModel;
#endregion

namespace ZO.SmartCore.Standards.GSSAPI
{
    /// <summary>
    /// A service is a resource provided to network clients; often provided by
    /// more than one server and potentially by more than one protocol.
    /// Service names are short alphanumeric textual strings.  Service names
    /// are used in the GSSAPI [RFC2078] host-service name form, are specified
    /// as part of a SASL profile [RFC2222] and are used by Kerberos
    /// service-based tickets [RFC1510].
    /// </summary>
    public enum ServiceName
    {
        /// <summary>
        /// Extensible Messaging and Presence Protocol (XMPP)
        /// [RFC3920] 
        /// </summary>
        [Description("xmpp")]
        XMPP,

        /// <summary>
        /// Network News Transfer Protocol (NNTP)  
        /// [RFC-ietf-nntpext-authinfo-10.txt]
        /// </summary>
        [Description("nntp")]
        NNTP,

        /// <summary>
        /// Secure Available Credentials (SACRED) Protocol
        /// [RFC3767]
        /// </summary>
        [Description("sacred")]
        SACRED,

        /// <summary>
        /// Mailbox Update (MUPDATE) Protocol
        /// [RFC3656] 
        /// </summary>
        [Description("mupdate")]
        MUPDATE,

        /// <summary>
        /// message transfer/SMTP  
        /// [RFC2554]
        /// </summary>
        [Description("smtp")]
        SMTP,

        /// <summary>
        /// Blocks Extensible Exchange Protocol
        /// [RFC3080]
        /// </summary>
        [Description("beep")]
        BEEP,


        /// <summary>
        /// Lightweight Directory Access Protocol (LDAP)
        /// [RFC2251,RFC2829]
        /// </summary>
        [Description("ldap")]
        LDAP,

        /// <summary>
        /// file transfer/FTP/TFTP             
        /// [RFC2228]
        /// </summary>
        [Description("ftp")]
        FTP,

        /// <summary>
        /// distributed file system protocol 
        /// [RFC1813,RFC1094]
        /// </summary>
        [Description("nfs")]
        NFS,

        /// <summary>
        /// remote configuration access/ACAP        
        /// [RFC2244]
        /// </summary>
        [Description("acap")]
        ACAP,


        /// <summary>
        /// maildrop access/POP3     
        /// [RFC1734]
        /// </summary>
        [Description("pop")]
        POP3,

        /// <summary>
        /// mailstore access/IMAP4
        /// [RFC1731]
        /// </summary>
        [Description("IMAP4")]
        IMAP,

        /// <summary>
        /// remote command/rlogin/telnet   
        /// [RFC1411]
        /// </summary>
        [Description("rcmd")]
        RCMD,

    }
}